package com.niuwa.p2p.dao.channel;

import java.util.List;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.CorpManager;
@MyBatisDao
public interface CorpManagerDao {
    int deleteByPrimaryKey(String managerCode);

    int insert(CorpManager record);

    int insertSelective(CorpManager record);

    CorpManager selectByPrimaryKey(String managerCode);
    
    /**
     * 查询公司法人和公司总经理信息
     * @param corpCode
     * @return
     */
    List<CorpManager> selectPersonsInfoByCorpcode(String corpCode);

    int updateByPrimaryKeySelective(CorpManager record);

    int updateByPrimaryKey(CorpManager record);
}